package net.linku.model.req.login;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * 后台账户查询的请求参数
 * <p>
 * 该类用于定义查询后台账户时的请求参数，包括账户ID列表、租户ID、账户编码、昵称、
 * 电话、个人邮箱、公司邮箱、是否管理员等多个查询条件。
 * </p>
 *
 * @author SilenceTian
 * @date 2024/7/13
 */
@Data
@Builder
@ApiModel(description = "后台账户查询的请求参数")
public class AdminAccountQuery {

    @ApiModelProperty(value = "账户ID列表", example = "[1, 2, 3]")
    private List<Long> accountIds;

    @ApiModelProperty(value = "租户ID, 值集 0 是大众租户 1是后端集团租户", example = "0")
    private Long tenantId;

    @ApiModelProperty(value = "工号（账户号码）, 例如: L2406230001", example = "L2406230001")
    private String accountCode;

    @ApiModelProperty(value = "昵称, 默认和账户昵称一致", example = "SilenceTian")
    private String nickName;

    @ApiModelProperty(value = "手机号, 一个手机号只能注册一个账户", example = "13800138000")
    private String phone;

    @ApiModelProperty(value = "邮箱_个人", example = "personal@example.com")
    private String personalEmail;

    @ApiModelProperty(value = "邮箱_公司", example = "company@example.com")
    private String companyEmail;

    @ApiModelProperty(value = "是否管理员，Y:是，N:否", example = "Y")
    private String isAdmin;
}
